package com.aaa.sbms.util;

import java.util.List;
import java.util.Map;

//返回结果到前台的工具类
public class ResultUtil {

    private Integer code;
    private String Info;
    private Object dataBack;

    public ResultUtil() {}

    public ResultUtil(Integer code, String info, Object dataBack) {
        this.code = code;
        Info = info;
        this.dataBack = dataBack;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getInfo() {
        return Info;
    }

    public void setInfo(String info) {
        Info = info;
    }

    public Object getDataBack() {
        return dataBack;
    }

    public void setDataBack(Object dataBack) {
        this.dataBack = dataBack;
    }
}